from ultralytics import YOLO

model = YOLO('yolov8n.pt')

model.predict('camera/192.168.1.65/1.jpg', save=True, imgsz=640, conf=0.3, show=False)

# 64,64 L1,L2 关闭两个相机
# eyJpbnN0cnVjdCI6ImVuZF9yZWNvcmQiLCJjYW1lcmFJcHMiOiIxOTIuMTY4LjEuNjQsMTkyLjE2OC4xLjY1In0=
# 64,64 L1,L2 开启两个相机
# eyJpbnN0cnVjdCI6ImJlZ2luX3JlY29yZCIsImNhbWVyYUlwcyI6IjE5Mi4xNjguMS42NCwxOTIuMTY4LjEuNjUiLCJjYW1lcmFSZWYiOiJMMixMMSIsInZpZGVvUGF0aCI6InZpZGVvLzEyMy80NTYvMjAyMzExMDkxMDE4In0=